package com.reebake.ideal.security.entity;

import com.reebake.ideal.security.core.AuthenticationFactor;
import lombok.Data;

/**
 * 登录认证因子
 */
@Data
public class BasicAuthenticationFactor<T, C> implements AuthenticationFactor {
    /** 类型 */
    private String type;
    /** 用户名 */
    private String username;
    /** 认证凭证 */
    private T credential;
    /** 防机器人验证码 */
    private C captcha;
}
